[##include file="common/header.tpl.php" page_title='疯狂工厂'##]

[##include file="common/nav.tpl.php"##]

<p>
人事部&lt;<a href="[##$siteurl##]/app.php?m=factory&amp;sid=[##$skey##]">疯狂工厂</a>
</p>

<p>
[##if !empty($info.secretary)##]
你现在有[##$info.secretary|count##]个秘书，她们还能工作
	[##if $secretary_diff_time[0] > 0##]
		[##$secretary_diff_time[0]##]天[##$secretary_diff_time[1]##]小时[##$secretary_diff_time[2]##]分[##$secretary_diff_time[3]##]秒
	[##elseif $secretary_diff_time[1] > 0##]
		[##$secretary_diff_time[1]##]小时[##$secretary_diff_time[2]##]分[##$secretary_diff_time[3]##]秒
	[##elseif $secretary_diff_time[2] > 0##]
		[##$secretary_diff_time[2]##]分[##$secretary_diff_time[3]##]秒
	[##elseif $secretary_diff_time[3] > 0##]
		[##$secretary_diff_time[3]##]秒
	[##/if##]
[##else##]
你现在没有秘书，花费1000银币
<anchor>招秘书
	<go href="[##$siteurl##]/app.php?m=factory&amp;a=hire_secretary&amp;sid=[##$skey##]" method="post">
		<postfield name="hire" value="1"/>
		<postfield name="back_url" value="[##$REQUEST_URI##]"/>
	</go>
</anchor>
[##/if##]
</p>

<p>
[##if !empty($info.police)##]
你现在有[##$info.police|count##]个保安，她们还能工作
	[##if $police_diff_time[0] > 0##]
		[##$police_diff_time[0]##]天[##$police_diff_time[1]##]小时[##$police_diff_time[2]##]分[##$police_diff_time[3]##]秒
	[##elseif $police_diff_time[1] > 0##]
		[##$police_diff_time[1]##]小时[##$police_diff_time[2]##]分[##$police_diff_time[3]##]秒
	[##elseif $police_diff_time[2] > 0##]
		[##$police_diff_time[2]##]分[##$police_diff_time[3]##]秒
	[##elseif $police_diff_time[3] > 0##]
		[##$police_diff_time[3]##]秒
	[##/if##]
[##else##]
你现在没有保安，花费1000银币
<anchor>招保安
	<go href="[##$siteurl##]/app.php?m=factory&amp;a=hire_police&amp;sid=[##$skey##]" method="post">
		<postfield name="hire" value="1"/>
		<postfield name="back_url" value="[##$REQUEST_URI##]"/>
	</go>
</anchor>
[##/if##]
</p>

[##include file="app/factory/footer_map.tpl.php"##]

[##include file="common/footer_nav.tpl.php"##]

[##include file="common/footer.tpl.php"##]